<?php

namespace app\model\admin\sgz;

use laytp\BaseModel;
use think\model\concern\SoftDelete;

class SgzBattle extends BaseModel
{
    use SoftDelete;
    protected $name = 'sgz_battle';

    public function battleGenerals(){
        return $this->hasMany("SgzBattleTeam","battle_id","id");
    }
}